package com.teach.service.photo;

import java.util.Map;

import org.springframework.data.repository.query.Param;

import com.teach.dto.LoginUser;
import com.teach.dto.PhotoUserInformDTO;
import com.teach.entity.PhotoFav;

public interface PhotoFivService {

	 int deleteByPrimaryKey(Long photoFavId);

	    int insert(PhotoFav record);

	    int insertSelective(PhotoFav record);
	    
	    PhotoFav selectByPrimaryKey(Long photoFavId);

	    int updateByPrimaryKeySelective(PhotoFav record);

	    int updateByPrimaryKey(PhotoFav record);
	    
	    /**
	     * 	收藏消息通知
	     * @param user
	     * @param status
	     * @return
	     */
	   PhotoUserInformDTO collectInform(LoginUser user, String status);
	   
	   int updateStatus(String status,Long picId,String userId);
}
